﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="View2SNUnionandPackageDatabyPackageProductSN.aspx.cs" Inherits="ViewbyProduct_ViewPackage_View2SNPackageData_View2SNUnionandPackageData"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="text-align: center;">
        <br />
        <br />
        <div style="clear: both;">
            <p align="center">
                成品序列号：<asp:TextBox ID="TextBox1" runat="server" TabIndex="1"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="*"
                    ValidationGroup="VGroup1"></asp:RequiredFieldValidator>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" Text="查  询" ValidationGroup="VGroup1" OnClick="Button1_Click"
                    TabIndex="2" />
            </p>
            <p align="center">
                &nbsp;</p>
        </div>
        <div style="clear: both;">
            <p>
                关联数据：</p>
            <asp:GridView ID="GridView1" runat="server" AllowPaging="False" AutoGenerateColumns="False"
                BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
                CellSpacing="1" GridLines="None" PageSize="20" Width="100%" DataKeyNames="ProductSN,RecordTime">
                <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                <Columns>
                    <asp:BoundField DataField="PackageProductSN" HeaderText="成品序列号" />
                    <asp:HyperLinkField DataNavigateUrlFields="ProductSN" DataTextField="ProductSN" HeaderText="腔体序列号"
                        DataNavigateUrlFormatString="~/ViewbyProduct/ViewProductState/ProductSNLifeTime.aspx?ProductSN={0}" />
                    <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
                    <asp:BoundField DataField="RecordTime" HeaderText="记录时间" />
                    <asp:BoundField DataField="UserID" HeaderText="操作员" />
                </Columns>
                <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            </asp:GridView>
            <p>
                包装数据：</p>
            <asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
                CellSpacing="1" GridLines="None" PageSize="20" Width="100%" DataKeyNames="RecordTime">
                <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                <Columns>
                    <asp:BoundField DataField="PackageProductSN" HeaderText="成品序列号" />
                    <asp:BoundField DataField="RecordTime" HeaderText="记录时间" />
                    <asp:BoundField DataField="UserID" HeaderText="操作员" />
                </Columns>
                <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            </asp:GridView>
            <br />
        </div>
    </div>
</asp:Content>
